* {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
}

.w {
    width: 100%;
    /* height: 3914px; */
   margin: auto;
   /* background-color: pink; */
}

.top-bg {
    width: 100%;
    height: 448px;
    background-image: url(../assets/f1ce105133a85e5548c653fa7130052d.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    /* display: none; */
    h3 {
        margin-top: 300px;
        font-size: 32px;
        color: white;
        text-align: center;
    }

    h5 {
        margin-top: 8px;
        color: white;
        text-align: center;
    }
}

/* 导航栏 */
.nav-top {
    width: 100%;
    height: 150px;
    position: fixed !important;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    .nav-box {
        width: 1300px;
        height: 70px;
        
        display: flex;
        margin: auto;
        position: relative;
        a {
            display: block;
            width: 120px;
            height: 66px;
            text-align: center;
            line-height: 70px;
            font-size: 16px;
            color: white;
            font-weight: bold;
        }
        a:nth-child(1){
            width: 208px;
            height: 60px;
        }
        a:nth-child(1) img{
            width: 208px;
            height: 60px;
        }
        a:nth-child(1)~a:hover{
            border-bottom: 4px solid skyblue;
        }
        
    }
}

.nav-top {
    .tab-box {
        width: 100%;
        height: 190px;
        position: absolute;
        bottom: -150px;
        background-color: #272624;
        opacity: .8;
    }
    ul {
        width: 1300px;
        margin: auto;
        box-sizing: border-box;
        li {
            
            font-size: 14px;
            margin-top: 4px;
            a {
                color: white;
            }
            a:hover {
                color: skyblue;
            }
        }
    }
}



article {
    width: 1340px;
    margin: 10px auto;
    display: flex;
    padding: 0 16px;
    box-sizing: border-box;
    .news-box-le {
        width: 50%;
        display: flex;
        align-items: center;
        .img-box {
            width: 40%;
            overflow: hidden;
            img {
                display: block;
                width: 100%;
                transition: .8s;
                overflow: hidden;
            }
            img:hover {
                transform: scale(1.2);
            }
        }

        .text-box {
            width: 60%;
            height: 120px;
            color: black;
            margin-left: 20px;
            a {
                font-size: 18px;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                width: 100%;
                display: block;
                text-align: left;
                color: black;
            }
           .riqi {
            font-size: 14px;
            margin: 5px;
            color: #585858 !important;
            text-align: left;
           }
           .wenan {
            color: #585858 !important;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            font-size: 14px;
            line-height: 220%;
           }
        }

    }

    .news-box-ri {

        width: 50%;

        display: flex;
        align-items: center;
        .img-box {
            width: 40%;
            overflow: hidden;
            img {
                display: block;
                width: 100%;
                transition: .8s;
                overflow: hidden;
            }
            img:hover {
                transform: scale(1.2);
            }
        }

        .text-box {
            width: 60%;
            height: 120px;
            color: black;
            margin-left: 20px;
            a {
                font-size: 18px;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                width: 100%;
                display: block;
                text-align: left;
                color: black;
            }
           .riqi {
            font-size: 14px;
            margin: 5px;
            color: #585858 !important;
            text-align: left;
           }
           .wenan {
            color: #585858 !important;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            font-size: 14px;
            line-height: 220%;
           }
        }

    }
}


.paging {
    margin: auto;
    width: 26px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    color: white;
    background-color: #0267B5;
}

@media (min-width: 1200px) {
    article {
        .news-box-ri {
            width: 48%;
            display: flex;
            align-items: center;
            margin-left: 4%;
        }
    }

    article {
        .news-box-le {
          
            width: 48%;
            display: flex;
            align-items: center;
            
        }
    }
}


@media (max-width: 1340px) {
    article {
        width: 100%;
    }
}


@media (max-width: 1299px) {
    .top-bg {
        width: 100%;
        background-size: contain;
    }

    .text-box {
        width: 100%;
    }


    article {
        img {
            width: 100%;
        }
    }

}

@media (max-width: 1199px)  {
    .nav-top {
        .nav-box {
            a {
                width: 90px;
            }
        }

    }


    article {
        width: 100%;
        .news-box-le {
            display: block;
            width: 48%;
            margin-right: 4%;
            .text-box {
                width: 100%;
                margin: 0;
            }
        }
        .news-box-ri {
            display: block;
            width: 48%;
            .text-box {
                width: 100%;
                margin: 0;
            }
        }
        .news-box-ri{
            .img-box {
                width: 100%;
                
            }
        }

        .news-box-le{
            .img-box {
                width: 100%;
                
            }
        }



        .riqi {
            text-align: left;
        }
    }



}


@media (max-width: 1099px)  {
    .nav-top {
        .nav-box {
            a {
                width: 82px;
            }
        }
    }
    
}



.bot-nav {
    width: 100%; 
    height: 69px; 
    background-color: #202123;
    display: none;
    position: fixed;
    bottom: 0px;
    padding-top: 10px;
    box-sizing: border-box;
    a {
        display: block;
        width: 25%;
        height: 69px;
        text-align: center;
        float: left;
        color: white;
        font-size: 14px;
        img {
            width: 30px;
        }
    }
}

.nav-top-H5 {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    a {
        display: block;
        padding: 0px;
        margin: 0;
        width: 45%;
        img:nth-child(1) {
            display: block;
            width: 100%;
            min-height: 58px;
        }
    
    }
    img:nth-child(2) {
        width: 24px;
        height: 24px;
        margin: 20px  20px 0 0;
    }

}

@media (max-width: 990px) {
    .bot-nav {
        display: block;
    }

    .nav-top {
        display: none;
    }

    .nav-top-H5  {
        display: block;
    }


    #s-text1 {
        color: #000000;
        font-size: 14px;
        font-weight: 600 !important;
    }

    #s-text2 {
        font-size: 12px;
    }

   
   
}

@media (min-width: 768px) and (max-width: 991px) {
    .demo {
        width: 1200px;
        height: 50px;
        background-color: yellow;
        
    }

 
    
}

@media (max-width: 767px) {
    .demo {
        width: 700px;
        background-color: aqua;
    }

    .top-bg {
        height: 400px;
    }

    .bot-nav {
        height: 62px;
        a{
            font-size: 11px;
            img {
                width: 26px;
            }
        }
        
    }
}

@media (max-width: 667px) {
    .top-bg {
        height: 350px;
        h3 {
            margin-top: 250px;
        }
    }
}

@media (max-width: 667px) {
    .top-bg {
        height: 350px;
        h3 {
            margin-top: 200px;
        }
    }
}

@media (max-width: 567px) {
    .top-bg {
        height: 300px;
        h3 {
            margin-top: 200px;
        }
    }
}

@media (max-width: 467px) {
    .top-bg {
        height: 250px;
        h3 {
            margin-top: 150px;
        }
    }
}

@media (max-width: 375px) {
    .top-bg {
        height: 200px;
        h3 {
            margin-top: 100px;
        }
    }
}


.bottom-top {   
    width: 36px;
    height: 36px;
    position: fixed;
    bottom: 100px;
    right: 36px;
    background-color: white;
    border-radius: 100%;
    display: none;
    a {
        display: block;
        width: 100%;
    }
    img {
        width: 36px;

    }
}

html{
    scroll-behavior: smooth;
}


